package Lecture7;

import java.util.Scanner;

public class exam {
	
	
	public static void main(String[] args) 
	{
		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		
		printArea( a, b);
		sqArea ( a );
	}
	
	 static int sqArea( int a)
	 {
		 int area = a*a;
		 
		 System.out.println(area);
		 
		 return area;
		 
	 }
	 

	 static int printArea( int a, int b)
	 {
		 
		 int area = a*b;
		 System.out.println(area);
		 return area;
	 }
	
	
	
}
